package com.lovo.bean;

import java.util.Date;

public class User {
    private Integer userId;

    private String userName;

    private String userPwd;

    private Date userDate;

    private String userTel;

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userDate=" + userDate +
                ", userTel='" + userTel + '\'' +
                '}';
    }

    public User(String userName, String userPwd, Date userDate, String userTel) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.userDate = userDate;
        this.userTel = userTel;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd == null ? null : userPwd.trim();
    }

    public Date getUserDate() {
        return userDate;
    }

    public void setUserDate(Date userDate) {
        this.userDate = userDate;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel == null ? null : userTel.trim();
    }
}